package com.freight.msg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freight.msg.entity.MsgConsultingComplaints;
import com.freight.msg.entity.MsgConsultingComplaintsRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MsgConsultingMapper extends BaseMapper<MsgConsultingComplaints> {

    List<MsgConsultingComplaintsRecord> getmsgConsultingIdList(@Param("msgConsultingId") Long msgConsultingId);

    Page<MsgConsultingComplaints> getMsgConsultingList( @Param("handleState") Integer handleState,@Param("userType") Integer userType,@Param("userId") Long userId,Page<MsgConsultingComplaints> page, @Param("types") String types);

}
